<?php
class Gone extends Control
{
	public function index()
	{
		echo '<a href="'.$this->vlink('jquery-1.7.2.min.js').'">jquery-1.7.2.min.js</a><br>';
		echo '<img width="100" src="'.$this->vlink('kiki.jpg').'" /><br>';
		echo '<a href="/gone/test.html">gone/test.html</a><br>';
		echo '<a href="/index.php/gone/test">gone/test</a>';
	}
	
	public function test($a=2)
	{
		$db = $this->database();
		var_dump($db->gets('test'));
		//$this->db->insert('test',array('name'=>'ladygaga'));
		var_dump($db->gets('test', array('id'=>2, 'or id'=>3, 'id <>'=>4)));
	}
}